import { request } from './axiosRequest';
//角色管理-获取用户列表
export const roleList = (params) => { return request("post", "/role/list", params) };
//角色管理-新建角色
export const roleInsert = (params) => { return request("post", "/role/insert", params) };
//角色管理-删除角色
export const roleDelete = (params) => { return request("post", "/role/delete", params) };
//角色管理-修改角色
export const roleUpdate = (params) => { return request("post", "/role/update", params) };

//角色管理-获取角色对应的菜单ID集合
export const roleMenuList = (params) => { return request("post", "/menu/tree", params) };